package com.hisan.freeride.home.model;

import com.hisan.freeride.common.model.BaseModel;

import java.util.List;

/**
 * 创建时间 : 2017/11/20
 * 创建人：yangyingqi
 * 公司：嘉善和盛网络有限公司
 * 备注：无
 */
public class TList extends BaseModel {

    /**
     * total : 4
     * data : [{"id":660,"driver_id":10,"trip_no":"201711211347139087","city_id":5,"tag_id":"6,5,4,3","mobile":"13095605272","initially":"天津","destination":"石家庄","way":"","people":6,"surplus":6,"requirement":null,"departure_time":"2017-11-22 00:00","finish":1,"review":1,"tags":[{"id":3,"name":"未成年"},{"id":4,"name":"孕妇"},{"id":5,"name":"为他人预约"},{"id":6,"name":"有大件行李"}],"car_no":"京Ahhhh","driver_name":"路路通","driver_avatar":"http://wx.qlogo.cn/mmopen/vi_32/8AIjgED8tBVR4QPibhrF8Y0IEFjZ6Bic8pe4eSsvCvy9YplTEzdje06W7IdiaRfMGWzc7IFdfLSPORZCgUgTz5nLg/0","help_count":3,"is_expired":1},{"id":642,"driver_id":10,"trip_no":"201711211344048825","city_id":5,"tag_id":"1,3,4","mobile":"13095605272","initially":"测试1","destination":"测试2","way":"","people":6,"surplus":6,"requirement":null,"departure_time":"2017-11-22 00:00","finish":1,"review":1,"tags":[{"id":1,"name":"宠物"},{"id":3,"name":"未成年"},{"id":4,"name":"孕妇"}],"car_no":"京Ahhhh","driver_name":"路路通","driver_avatar":"http://wx.qlogo.cn/mmopen/vi_32/8AIjgED8tBVR4QPibhrF8Y0IEFjZ6Bic8pe4eSsvCvy9YplTEzdje06W7IdiaRfMGWzc7IFdfLSPORZCgUgTz5nLg/0","help_count":3,"is_expired":1},{"id":641,"driver_id":8,"trip_no":"2017112010050579","city_id":5,"tag_id":"15,10,6","mobile":"15381252826","initially":"北京","destination":"上海","way":"石家庄","people":7,"surplus":7,"requirement":null,"departure_time":"2017-11-20 17:20","finish":1,"review":1,"tags":[{"id":6,"name":"有大件行李"},{"id":10,"name":"限女性"},{"id":15,"name":"免接送"}],"car_no":"京A375AL","driver_name":"严先森","driver_avatar":"http://wx.qlogo.cn/mmopen/vi_32/DYAIOgq83epRhwaBziaTW3qvLibInSxxPWVR7V6hL0TkOtpr6UBVVR0ArXYYlIn7fz3xzGqe4jbjR7AIY7RafQtQ/0","help_count":5,"is_expired":1},{"id":625,"driver_id":10,"trip_no":"201711181712122201","city_id":5,"tag_id":"1,3,4,5,6,7,8,9,10,11,12,13,14,15,16","mobile":"13095605272","initially":"上海","destination":"北京","way":"","people":4,"surplus":4,"requirement":null,"departure_time":"2017-11-18 17:45","finish":1,"review":1,"tags":[{"id":1,"name":"宠物"},{"id":3,"name":"未成年"},{"id":4,"name":"孕妇"},{"id":5,"name":"为他人预约"},{"id":6,"name":"有大件行李"},{"id":7,"name":"老年人"},{"id":8,"name":"吸烟"},{"id":9,"name":"不接送"},{"id":10,"name":"限女性"},{"id":11,"name":"限男性"},{"id":12,"name":"全程高速"},{"id":13,"name":"会开车"},{"id":14,"name":"晕车不带"},{"id":15,"name":"免接送"},{"id":16,"name":"司机优先"}],"car_no":"京Ahhhh","driver_name":"路路通","driver_avatar":"http://wx.qlogo.cn/mmopen/vi_32/8AIjgED8tBVR4QPibhrF8Y0IEFjZ6Bic8pe4eSsvCvy9YplTEzdje06W7IdiaRfMGWzc7IFdfLSPORZCgUgTz5nLg/0","help_count":3,"is_expired":1}]
     */

    private int total;
    private List<DataBean> data;

    public int getTotal() {
        return total;
    }

    public void setTotal(int total) {
        this.total = total;
    }

    public List<DataBean> getData() {
        return data;
    }

    public void setData(List<DataBean> data) {
        this.data = data;
    }

    public static class DataBean {
        /**
         * id : 660
         * driver_id : 10
         * trip_no : 201711211347139087
         * city_id : 5
         * tag_id : 6,5,4,3
         * mobile : 13095605272
         * initially : 天津
         * destination : 石家庄
         * way :
         * people : 6
         * surplus : 6
         * requirement : null
         * departure_time : 2017-11-22 00:00
         * finish : 1
         * review : 1
         * tags : [{"id":3,"name":"未成年"},{"id":4,"name":"孕妇"},{"id":5,"name":"为他人预约"},{"id":6,"name":"有大件行李"}]
         * car_no : 京Ahhhh
         * driver_name : 路路通
         * driver_avatar : http://wx.qlogo.cn/mmopen/vi_32/8AIjgED8tBVR4QPibhrF8Y0IEFjZ6Bic8pe4eSsvCvy9YplTEzdje06W7IdiaRfMGWzc7IFdfLSPORZCgUgTz5nLg/0
         * help_count : 3
         * is_expired : 1
         */

        private int id;
        private int driver_id;
        private String trip_no;
        private int city_id;
        private String tag_id;
        private String mobile;
        private String initially;
        private String destination;
        private String way;
        private int people;
        private int surplus;
        private Object requirement;
        private String departure_time;
        private int finish;
        private int review;
        private String car_no;
        private String driver_name;
        private String driver_avatar;
        private int help_count;
        private int is_expired;
        private List<TagsBean> tags;

        public int getId() {
            return id;
        }

        public void setId(int id) {
            this.id = id;
        }

        public int getDriver_id() {
            return driver_id;
        }

        public void setDriver_id(int driver_id) {
            this.driver_id = driver_id;
        }

        public String getTrip_no() {
            return trip_no;
        }

        public void setTrip_no(String trip_no) {
            this.trip_no = trip_no;
        }

        public int getCity_id() {
            return city_id;
        }

        public void setCity_id(int city_id) {
            this.city_id = city_id;
        }

        public String getTag_id() {
            return tag_id;
        }

        public void setTag_id(String tag_id) {
            this.tag_id = tag_id;
        }

        public String getMobile() {
            return mobile;
        }

        public void setMobile(String mobile) {
            this.mobile = mobile;
        }

        public String getInitially() {
            return initially;
        }

        public void setInitially(String initially) {
            this.initially = initially;
        }

        public String getDestination() {
            return destination;
        }

        public void setDestination(String destination) {
            this.destination = destination;
        }

        public String getWay() {
            return way;
        }

        public void setWay(String way) {
            this.way = way;
        }

        public int getPeople() {
            return people;
        }

        public void setPeople(int people) {
            this.people = people;
        }

        public int getSurplus() {
            return surplus;
        }

        public void setSurplus(int surplus) {
            this.surplus = surplus;
        }

        public Object getRequirement() {
            return requirement;
        }

        public void setRequirement(Object requirement) {
            this.requirement = requirement;
        }

        public String getDeparture_time() {
            return departure_time;
        }

        public void setDeparture_time(String departure_time) {
            this.departure_time = departure_time;
        }

        public int getFinish() {
            return finish;
        }

        public void setFinish(int finish) {
            this.finish = finish;
        }

        public int getReview() {
            return review;
        }

        public void setReview(int review) {
            this.review = review;
        }

        public String getCar_no() {
            return car_no;
        }

        public void setCar_no(String car_no) {
            this.car_no = car_no;
        }

        public String getDriver_name() {
            return driver_name;
        }

        public void setDriver_name(String driver_name) {
            this.driver_name = driver_name;
        }

        public String getDriver_avatar() {
            return driver_avatar;
        }

        public void setDriver_avatar(String driver_avatar) {
            this.driver_avatar = driver_avatar;
        }

        public int getHelp_count() {
            return help_count;
        }

        public void setHelp_count(int help_count) {
            this.help_count = help_count;
        }

        public int getIs_expired() {
            return is_expired;
        }

        public void setIs_expired(int is_expired) {
            this.is_expired = is_expired;
        }

        public List<TagsBean> getTags() {
            return tags;
        }

        public void setTags(List<TagsBean> tags) {
            this.tags = tags;
        }

        public static class TagsBean {
            /**
             * id : 3
             * name : 未成年
             */

            private int id;
            private String name;

            public int getId() {
                return id;
            }

            public void setId(int id) {
                this.id = id;
            }

            public String getName() {
                return name;
            }

            public void setName(String name) {
                this.name = name;
            }
        }
    }
}
